namespace Vibstudio.X4NET.Csv
{
    /// <summary>
    /// Settings for the csv.
    /// </summary>
    public class CsvConfig
    {
        /// <summary>
        /// Indicate if first line contains headers/columns.
        /// </summary>
        public bool ContainsHeaders { get; set; }

        /// <summary>
        /// Indicates if loading as readonly.
        /// </summary>
        public bool IsReadOnly { get; set; }
        
        /// <summary>
        /// The character used to separate values in csv file.
        /// </summary>
        public char Separator { get; set; }

        public CsvConfig()
        {
            ContainsHeaders = true;
            IsReadOnly = false;
            Separator = Defaults.CsvSeparator;
        }
    }
}
